With Inline script working How can I make my external .js file work properly with my HTML file